package com.vavr.checkincms.common.constant;

/**
 * CommonConstants
 *
 * @since 2.0.0
 */
public interface CommonConstants {
    /**
     * 是否超级管理员
     */
    String IS_ADMIN = "1";

    /**
     * 签到cookie id
     */
    String CHECKIN_CMS_COOKIE_ID = "checkincmssessionid";
    /**
     * X-Forwarded-Proto 客户端与反向代理通信协议（原始协议）
     */
    String X_FORWARDED_PROTO = "X-Forwarded-Proto";

    /**
     * 签到cookie id
     */
    String CHECKIN_COOKIE_ID = "checkinsessionid";

    /**
     * 签到cookie path
     */
    String CHECKIN_COOKIE_PATH = "/check-in-sys";

    /**
     *
     */
    String CURRENT_IFLY_WEBSOCKET = "current_ifly_websocket";

    /**
     *
     */
    String CHAT_REQUEST_CONFIG_PRE = "chat_request_param_";

    /**
     *
     */
    String CHAT_BOT_FOUNDATION_TYPE = "type";

    /**
     *
     */
    String CHAT_BOT_FOUNDATION_GROUP_ID = "groupId";

    interface EventName {
        /**
         *
         */
        String ON_STREAM_END = "on_stream_end";

        /**
         *
         */
        String ON_STREAM_ERROR = "on_stream_error";
    }

    interface Msg {
        /**
         * 评价反馈描述,默认成功
         */
        String FEEDBACK_SUCCESS = "评价成功";
    }

    interface Separator {
        /**
         * 分隔符,冒号
         */
        String COLON = ":";
    }

    interface OnePark {
        /**
         * one-park 请求头参数
         */
        String AUTHORIZATION = "Authorization";

        /**
         * one-park 请求头参数值前缀,Basic后有空格
         */
        String BASE_EX = "Basic ";

        /**
         * one-park 请求头参数值前缀,bearer后有空格
         */
        String BEARER_EX = "bearer ";

        /**
         * one-park 默认作用域
         */
        String DEFAULT_SCOPE = "all ";

        /**
         * one-park 默认验证类型:authorization_code
         */
        String DEFAULT_GRANT_TYPE = "authorization_code ";
    }
}
